namespace Hygeia.Server.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class UT_SYS_RIGHT
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public decimal RIGHTID { get; set; }

        public decimal SYSTEMID { get; set; }

        public decimal PARENTRIGHTID { get; set; }

        [Required]
        [StringLength(50)]
        public string RIGHTNAME { get; set; }

        public decimal TYPE { get; set; }

        [Required]
        [StringLength(1)]
        public string ISADMINRGIHT { get; set; }

        [StringLength(200)]
        public string NAVIGATEURL { get; set; }

        [StringLength(200)]
        public string IMAGEURL { get; set; }

        [StringLength(200)]
        public string SIMAGEURL { get; set; }

        public decimal SORTORDER { get; set; }

        [Required]
        [StringLength(1)]
        public string ISDISPLAY { get; set; }

        [Required]
        [StringLength(1)]
        public string ISDELETED { get; set; }

        [StringLength(50)]
        public string TARGET { get; set; }

        public decimal? RIGHTLEVEL { get; set; }

        public decimal? WIDTH { get; set; }

        public decimal? HEIGHT { get; set; }

        [StringLength(200)]
        public string NAVIGATEURL2 { get; set; }
    }
}
